package cn.hchaojie.javase.day01.exercise;

public class Ex1 {
	public static void main(String[] args) {
		int a = 10;
		int b = 3;
		
		int temp = a;
		a = b;
		b = temp;
		
		System.out.println("a:" + a + " b:" + b);
		
		int c = 6;
		int d = 8;
		
		c = c + d;
		d = c - d;
		c = c - d;
		
		System.out.println("c: " + c + " d:" + d);
	}
}
